package com.nuoyuan.wx.service.respcode;

public enum BookRespCodeEnum {

	ADD_TRADE_FAIL("0001", "购买录入失败"),
	DEL_TRADE_FAIL("0002", "记录删除失败"),
	MOD_TRADE_FAIL("0002", "记录修改失败"),
	BATCH_ADD_TRADE_FAIL("0003", "批量添加购买记录失败");
	
    private String code;
    private String msg;

    public String getCode() {
        return BizTypeEnum.BOOK.getCode() + code;
    }

    public String getMsg() {
        return msg;
    }

    BookRespCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
